package com.hqyj.base.mapper;

import com.hqyj.base.model.InfoGoods;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface InfoGoodsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(InfoGoods record);

    int insertSelective(InfoGoods record);

    InfoGoods selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(InfoGoods record);

    int updateByPrimaryKey(InfoGoods record);

    List<InfoGoods> queryAllByInfoGoods();

    InfoGoods queryInfoGoodsById(int urlId);

    List<InfoGoods> queryFuzzyInfoGoods(String keyword);

    InfoGoods queryAllByGoodsName(String tradeName);
}